AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents a strongly-typed object for writing/deleting/version-checking multiple items in a single DynamoDB table in a transaction.
Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public class TransactWrite<> : TransactWrite
The TransactWrite<> type exposes the following members
Name | Description | |
---|---|---|
![]() |
AddDeleteItem(T) |
Add a single item to be deleted in the current transaction operation. |
![]() |
AddDeleteItems(IEnumerable<T>) |
Add a number of items to be deleted in the current transaction operation. |
![]() |
AddDeleteKey(object) |
Add a single item to be deleted in the current transaction operation. Item is identified by its hash primary key. |
![]() |
AddDeleteKey(object, Expression) |
Add a single item to be deleted in the current transaction operation. Item is identified by its hash primary key. |
![]() |
AddDeleteKey(object, object) |
Add a single item to be deleted in the current transaction operation. Item is identified by its hash-and-range primary key. |
![]() |
AddDeleteKey(object, object, Expression) |
Add a single item to be deleted in the current transaction operation. Item is identified by its hash-and-range primary key. |
![]() |
AddSaveItem(T) |
Add a single item to be saved in the current transaction operation. |
![]() |
AddSaveItem(object, Expression, Expression) |
Add a single item to be saved in the current transaction operation. Item is identified by its hash primary key and will be updated using the update expression provided. |
![]() |
AddSaveItem(object, object, Expression, Expression) |
Add a single item to be saved in the current transaction operation. Item is identified by its hash-and-range primary key and will be updated using the update expression provided. |
![]() |
AddSaveItems(IEnumerable<T>) |
Add a number of items to be saved in the current transaction operation. |
![]() |
AddVersionCheckItem(T) |
Add a single item to be version checked in the current transaction operation. The item must have a single property marked with the DynamoDBVersionAttribute. |
![]() |
AddVersionCheckItems(IEnumerable<T>) |
Add a number of items to be version checked in the current transaction operation. All items must have a single property marked with the DynamoDBVersionAttribute. |
![]() |
AddVersionCheckKey(object, object) |
Add a single item to be version checked in the current transaction operation. Item is identified by its hash primary key. |
![]() |
AddVersionCheckKey(object, object, object) |
Add a single item to be version checked in the current transaction operation. Item is identified by its hash-and-range primary key. |
![]() |
Combine(TransactWrite[]) |
Creates a MultiTableTransactWrite object that is a combination of the current TransactWrite and the specified TransactWrites. |
![]() |
Execute() | Inherited from Amazon.DynamoDBv2.DataModel.TransactWrite. |
![]() |
ExecuteAsync(CancellationToken) | Inherited from Amazon.DynamoDBv2.DataModel.TransactWrite. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5